﻿<Window x:Class="WindowManager.NameInputWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Name" Height="130" Width="300" Loaded="NameInputWindow_OnLoaded" PreviewKeyDown="Window_PreviewKeyDown">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock Text="Name: " VerticalAlignment="Center" Margin="10" />
        <TextBox Grid.Column="1" Margin="10" x:Name="textBox" x:FieldModifier="private" />

        <Button Grid.Row="1" Grid.Column="1" Content="OK" HorizontalAlignment="Right" Margin="10" Padding="10,3,10,3" Click="Button_Click" IsDefault="True" />
    </Grid>
</Window>
